#!/bin/bash
file_path="/data/wwwroot/conf"
find $file_path -type f ! -name config.$ACTIVE.js|xargs rm -f
ln -s $file_path/config.$ACTIVE.js $file_path/config.js
nginx -g 'daemon off;'
